home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v8n01.arc
/
CATALOGD.BAT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
DOS Batch File
|
1988-12-13
|
256 b
|
13 lines
ECHO OFF
IF "%1"=="" GOTO PARM
IF NOT EXIST \%1\*.* GOTO invalid
CD\%1
FOR %%A IN (*.*) DO ECHO %%A %1 >> C:\CATALOG.DIR
GOTO END
:invalid
ECHO \%1 is not a valid directory, or is empty.
GOTO END.
:PARM
ECHO FORMAT IS: "CATALOGD path"
:END